<template>
  <div id="app">
    <div v-if="$route.meta.index === 1">
      <Nav></Nav>
      <Head></Head>
      <router-view></router-view>
    </div>
    <div v-if="$route.meta.index === 0">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
import Nav from "./components/common/Nav";
import Head from "./components/common/Head";


export default {
  name: 'App',
  components: {
    Nav,
    Head
  },
}
</script>

<style>
#app {

}
</style>
